package com.ruoyi.basic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.basic.domain.BasicDuty;
import com.ruoyi.basic.domain.BasicRemind;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 用户提醒Mapper接口
 * 
 * @author ruoyi
 * @date 2021-12-06
 */
@Repository
public interface BasicRemindMapper extends BaseMapper<BasicRemind>
{
    /**
     * 查询到期的提醒
     *
     * @return 到期提醒集合
     */
    public List<BasicRemind> selectBasicRemindList(BasicRemind basicRemind);

    /**
     * 查询所有的用户提醒
     *
     * @return 到期提醒集合
     */
    public List<BasicRemind> selectBasicRemindAllList(BasicRemind basicRemind);

    /**
     * 查询用户提醒
     *
     * @param remindId 用户提醒主键
     * @return 用户提醒
     */
    public BasicRemind selectBasicRemindByRemindId(Long remindId);
}
